package org.codefinger.dao;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;

public class DaoType<T> {

	public static final DaoType<Integer>	INT			= new DaoType<Integer>(0);

	public static final DaoType<Double>		DOUBLE		= new DaoType<Double>(1);

	public static final DaoType<Float>		FLOAT		= new DaoType<Float>(2);

	public static final DaoType<Long>		LONG		= new DaoType<Long>(3);

	public static final DaoType<Short>		SHORT		= new DaoType<Short>(4);

	public static final DaoType<Byte>		BYTE		= new DaoType<Byte>(5);

	public static final DaoType<Boolean>	BOOLEAN		= new DaoType<Boolean>(6);

	public static final DaoType<String>		STRING		= new DaoType<String>(7);

	public static final DaoType<BigDecimal>	BIG_DECIMAL	= new DaoType<BigDecimal>(8);

	public static final DaoType<BigInteger>	BIG_INTEGER	= new DaoType<BigInteger>(9);

	public static final DaoType<Date>		DATE		= new DaoType<Date>(10);

	private int								type;

	private DaoType(int type) {
		this.type = type;
	}

	public int getType() {
		return type;
	}

}
